<!--{eval $_TPL['titles'] = array();}-->
<!--{template header_tpl}-->
    <div class="main_con">
        <div class="left">
	
			<!--{loop $activitys $key $activity}-->
			<div class="item">
				<div class="box">
					<div class="hover_area">
						<div class="box_img"><img src="<!--{eval echo base_url();}-->resources/images/grey.gif" lazy_src="{$activity['act_img']}" onclick="toggleActivity({$activity['aid']});" title="$site_config[sitename]-{$activity['title']}"  alt="$site_config[sitename]-{$activity['title']}"/>
							<input type="hidden" id="activity_key_{$activity['aid']}" value="$activity['key']">
						</div>
						<div id="item_detail_{$activity['aid']}" class="pop">
								<ul class="goods_list">
									<!--{loop $activity['goods'] $key $good}-->
									<li class="goodsitem">
										<div class="goods">
												<a href="{$good['url']}" target="_blank" title="$site_config[sitename]-{$good['name']}">
													<img src="<!--{eval echo base_url();}-->resources/images/grey.gif" lazy_src="{$good[goods_img]}" alt="$site_config[sitename]-{$good['name']}" title="$site_config[sitename]-{$good['name']}"/></a>
										</div>
										<div class="info">
											<div class="goodsprice">
												<p class="np">¥{$good['price']}</p>
												<p class="op">¥{$good[marketprice]}</p>
											</div>
										</div>
									</li>
									<!--{/loop}-->
								</ul>
						</div>
					</div>
					<div class="activity_title">
						<div class="title"><h2>{$activity[title]}</h2></div>
						<div class="view">
							浏览量({$activity[jumpnum]})
							<span id="collection_{$activity['aid']}"><a href="javascript:collect($activity['aid'])">心动收藏</a></span>
							<a href="{$activity['url']}" target="_blank" title=" $site_config[sitename] {$activity['title']}" >去看看</a>
							&nbsp;<a href="javascript:void(0);" onclick="toggleComment({$activity[aid]});">评论（{$activity['replynum']}）</a></div>
					</div>
					<div class="tool_bar">
						<span>
							推荐给朋友：
							<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('sina','<!--{eval echo base_url()}-->index/index/0/{$activity[aid]}','$site_config[sitename]-{$activity['title']}', '{$activity['act_img']}');_gaq.push(['_trackEvent', 'SocialShare', 'Share', 'Sinawb', 1]);return false;" title="转播到新浪微博">
								<img src="http://www.sinaimg.cn/blog/developer/wiki/LOGO_16x16.png" align="absmiddle" border="0" alt="转播到新浪微博">
							</a>
							<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('qzone','<!--{eval echo base_url()}-->index/index/0/{$activity[aid]}','$site_config[sitename]-{$activity['title']}', '{$activity['act_img']}');_gaq.push(['_trackEvent', 'SocialShare', 'Share', 'Qzone', 1]);return false;" title="转播到QQ空间">
								<img src="http://qzonestyle.gtimg.cn/ac/qzone_v5/app/app_share/qz_logo.png" align="absmiddle" border="0" alt="转播到QQ空间">
							</a>
							<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('qq','<!--{eval echo base_url()}-->index/index/0/{$activity[aid]}','$site_config[sitename]-{$activity['title']}', '{$activity['act_img']}');_gaq.push(['_trackEvent', 'SocialShare', 'Share', 'QQwb', 1]);return false;" title="转播到腾讯微博">
								<img src="http://v.t.qq.com/share/images/s/weiboicon16.png" align="absmiddle" border="0" alt="转播到腾讯微博">
							</a>
							<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('kaixin001','<!--{eval echo base_url()}-->index/index/0/{$activity[aid]}','$site_config[sitename]-{$activity['title']}', '{$activity['act_img']}');_gaq.push(['_trackEvent', 'SocialShare', 'Share', 'Kaixin001', 1]);return false;" title="转播到开心网">
								<img src="http://img1.kaixin001.com.cn/i3/platform/ico_kx16_2.gif" align="absmiddle" border="0" alt="转播到开心网">
							</a>
							<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('douban','<!--{eval echo base_url()}-->index/index/0/{$activity[aid]}','$site_config[sitename]-{$activity['title']}', '{$activity['act_img']}');_gaq.push(['_trackEvent', 'SocialShare', 'Share', 'Douban', 1]);return false;" title="转播到开心网">
								<img src="http://img2.douban.com/pics/fw2douban_s.png" align="absmiddle" border="0" alt="推荐到豆瓣">
							</a>
						</span>	
					</div>
					<div id="comment_{$activity['aid']}" class="comment">
					</div>
				</div>
				<ul class="box_side">
					<!--{if $activity['iscollected']}-->
						<li>已收藏</li>
					<!--{else}-->
						<li></li>
					<!--{/if}-->
					<div class="price">{$activity[offset][int]}<span>.{$activity[offset][decimal]}</span></div>
				</ul>
			</div>
			<div style="clear:both"></div>
		<!--{/loop}-->
		<!--{if $multi}-->
			<div class="item">
				<div class="box" style="text-align:right;">
					{$multi}
				</div>
			</div>
			<div style="clear:both"></div>
		<!--{/if}-->
        </div>
        <div class="right">
			<!--{template right_side}-->
        </div>
    </div>
<!-- 分享活动-->
<!--{if isset($share_act)}-->
<div class="item" id="shar_act">
	<div class="box">
		<div class="hover_area">
			<div class="box_img"><img src="{$share_act['act_img']}" title="$site_config[sitename]-{$share_act['title']}"  alt="$site_config[sitename]-{$share_act['title']}"/>
				<h2>{$share_act['title']}</h2>
				<input type="hidden" id="activity_key_{$share_act['aid']}" value="$share_act['key']">
			</div>
			<div id="item_detail_{$share_act['aid']}" class="pop" style='display:block;'>
				<div>
					<ul class="goods_list">
						<!--{loop $share_act['goods'] $key $good}-->
						<li class="goodsitem">
							<div class="goods">
									<a href="{$good['url']}" target="_blank" title="$site_config[sitename]-{$good['name']}">
										<img src="{$good[goods_img]}" alt="$site_config[sitename]-{$good['name']}" title="$site_config[sitename]-{$good['name']}"/></a>
							</div>
							<div class="info">
								<div class="goodsprice">
									<p class="np">¥{$good['price']}</p>
									<p class="op">¥{$good[marketprice]}</p>
								</div>
							</div>
						</li>
						<!--{/loop}-->

					</ul>
				</div>
			</div>
		</div>
	</div>
	<ul class="box_side">
		<li><a href="{$share_act['url']}" target="_blank" title=" $site_config[sitename] {$share_act['title']}" >更多详情</a></li>
		<!--{if $share_act['iscollected']}-->
			<li>已收藏</li>
		<!--{else}-->
			<li><span id="collection_{$share_act['aid']}"><a href="javascript:collect($share_act['aid'])">心动收藏</a></span></li>
		<!--{/if}-->
			<li>
				<a class= "shareButton" href="javascript:voidshare_act(0)" onclick="shareTo('sina','<!--{eval echo base_url()}-->index/index/0/{$share_act[aid]}','$site_config[sitename]-{$share_act['title']}', '{$share_act['act_img']}');return false;" title="转播到新浪微博">
					<img src="http://www.sinaimg.cn/blog/developer/wiki/LOGO_16x16.png" align="absmiddle" border="0" alt="转播到新浪微博">
				</a>
				<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('qzone','<!--{eval echo base_url()}-->index/index/0/{$share_act[aid]}','$site_config[sitename]-{$share_act['title']}', '{$share_act['act_img']}');return false;" title="转播到QQ空间">
					<img src="http://qzonestyle.gtimg.cn/ac/qzone_v5/app/app_share/qz_logo.png" align="absmiddle" border="0" alt="转播到QQ空间">
				</a>
				<br />
				<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('qq','<!--{eval echo base_url()}-->index/index/0/{$share_act[aid]}','$site_config[sitename]-{$share_act['title']}', '{$share_act['act_img']}');return false;" title="转播到腾讯微博">
					<img src="http://v.t.qq.com/share/images/s/weiboicon16.png" align="absmiddle" border="0" alt="转播到腾讯微博">
				</a>
				<a class= "shareButton" href="javascript:void(0)" onclick="shareTo('kaixin001','<!--{eval echo base_url()}-->index/index/0/{$share_act[aid]}','$site_config[sitename]-{$share_act['title']}', '{$share_act['act_img']}');return false;" title="转播到开心网">
					<img src="http://img1.kaixin001.com.cn/i3/platform/ico_kx16_2.gif" align="absmiddle" border="0" alt="转播到开心网">
				</a>
			</li>
		<div class="price">{$share_act[offset][int]}<span>.{$share_act[offset][decimal]}</span></div>
	</ul>
</div>
<div style="clear:both"></div>
<!--{/if}-->
<!-- ajax 登录层 -->
<!--{template login_ajax_tpl}-->
<!--{template footer_tpl}-->